Skip to content

feat(lab3): SSH signing + gitleaks pre-commit + history rewrite practice#1072

Open
Philip-78 wants to merge 2 commits into
inno-devops-labs:mainfrom
Philip-78:feature/lab3
Open

feat(lab3): SSH signing + gitleaks pre-commit + history rewrite practice#1072
Philip-78 wants to merge 2 commits into
inno-devops-labs:mainfrom
Philip-78:feature/lab3

Conversation

@Philip-78

Copy link
Copy Markdown

Goal

Configure SSH commit signing, wire gitleaks into a pre-commit hook to block accidental secret commits.

Changes

  • .pre-commit-config.yaml β€” gitleaks v8.27.2 + detect-private-key + check-added-large-files hooks
  • submissions/lab3.md β€” signing config, verified badge, blocked commit evidence, tune-out tradeoffs

Testing

  • git log --show-signature -1 shows Good "git" signature for idiarephilip@gmail.com
  • Commit 95d7d57 shows green Verified badge on GitHub
  • gitleaks blocked submissions/leak-attempt.txt with RuleID github-pat
  • Fake secret cleaned up β€” not committed to repo

Artifacts & Screenshots


  • Task 1 β€” SSH signing configured + Verified badge on commit
  • Task 2 β€” .pre-commit-config.yaml + gitleaks demonstrably blocking
  • Bonus β€” filter-repo rewrite practice documented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant